package httpstunnel

import "github.com/urfave/cli"

func Run(ctx *cli.Context) error {
	err := runTcp(ctx.String("tcp"))
	if err != nil {
		return err
	}

	return runHttps([]string{ctx.String("d")}, ctx.String("addr"), ctx.Int("p"))
}
